package com.weichat.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA
 * Created By HZP
 * Date: 2018/6/5
 * Time: 20:49
 */
@Entity
@Data
public class OrderDetail {

    @Id
    private String detailId;

    private String orderId;

    private String productId;

    private String productName;

    private Integer productQuantity;

    private BigDecimal productPrice;

    private String productIcon;

    private Date createTime;

    private Date updateTime;
}
